﻿/**
* File: XmglxmxxkpDbModel.cs
* Author: 汪杰
* Create Time:2025/2/28 15:48:55
* Email:15200358008@139.com
* 代码由TMCodeGenerator自动生成
**/
using System;
using SqlSugar;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace JSLCloud.DBModel
{
    /// <summary>
    /// xm_gl_xmxxkp Db Model
    /// </summary>
    [SugarTable("xm_gl_xmxxkp")]
    public class XmglxmxxkpDbModel
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true , ColumnName = "ID" , IsIdentity = true)]
        public int ID { get; set; }
        
        /// <summary>
        /// 创建人ID
        /// </summary>
        [SugarColumn(ColumnName = "CREATEID")]
        public int? Createid { get; set; }
        
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [SugarColumn(ColumnName = "CREATENAME")]
        public string Createname { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CREATETIME")]
        public DateTime? Createtime { get; set; }
        
        /// <summary>
        /// 修改人ID
        /// </summary>
        [SugarColumn(ColumnName = "UPDATEID")]
        public int? Updateid { get; set; }
        
        /// <summary>
        /// 修改人姓名
        /// </summary>
        [SugarColumn(ColumnName = "UPDATENAME")]
        public string Updatename { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "UPDATETIME")]
        public DateTime? Updatetime { get; set; }
        
        /// <summary>
        /// 删除标识 0未删除 1已删除
        /// </summary>
        [SugarColumn(ColumnName = "DELETEFLAG")]
        public int Deleteflag { get; set; }
        
        /// <summary>
        /// 项目ID
        /// </summary>
        [SugarColumn(ColumnName = "XMID")]
        public int Xmid { get; set; }
        
        /// <summary>
        /// 开票项目
        /// </summary>
        [SugarColumn(ColumnName = "KPXM")]
        public string Kpxm { get; set; }
        
        /// <summary>
        /// 开票日期
        /// </summary>
        [SugarColumn(ColumnName = "KPRQ")]
        public DateTime? Kprq { get; set; }
        
        /// <summary>
        /// 应开金额
        /// </summary>
        [SugarColumn(ColumnName = "KPJE")]
        public decimal Kpje { get; set; }
        
        /// <summary>
        /// 实开金额
        /// </summary>
        [SugarColumn(ColumnName = "SKJE")]
        public decimal? Skje { get; set; }
        
        /// <summary>
        /// 开票状态
        /// </summary>
        [SugarColumn(ColumnName = "KPZT")]
        public string Kpzt { get; set; }
        
        /// <summary>
        /// 开票人
        /// </summary>
        [SugarColumn(ColumnName = "KPR")]
        public string Kpr { get; set; }
        
        /// <summary>
        /// 发票号
        /// </summary>
        [SugarColumn(ColumnName = "FPH")]
        public string Fph { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "BZ")]
        public string Bz { get; set; }
    }
}
